(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/exec.h>
APTR SuperState()
LOCATION
In SysBase at offset 25
FUNCTION
Enter supervisor mode (like Supervisor()), but return on the user stack. This will mean that the user stack variables are still there. A call to UserState() will end this mode.

INPUTS
None.
RESULT
The old supervisor stack. This must be passed to UserState(). If the processor was already in supervisor mode, then this function will return NULL. In that case do NOT call UserState().

NOTES
This is not a good function to use, it has limited scope, and will probably be even less useful in the future.

EXAMPLE
BUGS
You can easily cause your system to cease operating normally.

SEE ALSO
Supervisor(), UserState()
INTERNALS
For extra details see Supervisor().

HISTORY
05.08.1997 iaint
Kernel Changes - These are mostly functions which are normally implemented by the kernel, but might not be.